package net.pws.common.security.spi.resource;

import java.util.List;

/**
 * 
 *
 */
public interface IResource {
    
    public final static IResource[] EMPTY_RESOURCES = new IResource[0];
    
    public final static String MENU = "menu";
    
    public final static String OPERATION = "operation";
    
    public String getId();
    
    public String getCode();
    
    public String getName();
    
    public String getType();
    
    public String getUrl();
    
    public IResource getParent();
    
    @SuppressWarnings("rawtypes")
	public List getChildren();

    public boolean isForbidden();
    
}
